load("@rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "order",
    srcs = ["order.go"],
    importpath = "github.com/rmohr/bazeldnf/pkg/order",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/rpm",
        "@com_github_sassoftware_go_rpmutils//cpio",
    ],
)

go_test(
    name = "order_test",
    srcs = ["order_test.go"],
    embed = [":order"],
    deps = ["@com_github_onsi_gomega//:gomega"],
)
